package com.jindi.jacococli.biz.utils;

import com.alibaba.excel.EasyExcel;
import com.jindi.jacococli.biz.business.model.ExcelDataModel;

import java.util.List;

public class ExcelUtils {

    public static void write(String filePath, List<ExcelDataModel> data) {
        EasyExcel.write(filePath, ExcelDataModel.class).sheet("jacoco").doWrite(data);
    }
}
